package com.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/index")
@Controller
public class IndexController {


	@RequestMapping("/todddsss")
	public String toIndex(ModelMap  map){
		map.addAttribute("name", "zhagnsan");
		return "index";
	}
}
